package singleton;

/**
 * 饿汉
 * 有达到lazy loading的效果
 * @author 张贵东
 * 
 */
public class Singleton3 {
	
	private static Singleton3 instance = new Singleton3();  

	private Singleton3() {
	}

	public static synchronized Singleton3 getInstance() {
		return instance;
	}

}
